package org.hospital.entity;
// default package

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;


/**
 * ClinicFundReport entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="clinicfundreport"
    ,catalog="hospital"
)

public class ClinicFundReport  implements java.io.Serializable {


    // Fields    

     private Integer reportId;
     private Integer clinicId;
     private Integer projectId;
     private Timestamp datetime;
     private Integer type;
     private Double price;


    // Constructors

    /** default constructor */
    public ClinicFundReport() {
    }

    
    /** full constructor */
    public ClinicFundReport(Integer clinicId, Integer projectId, Timestamp datetime, Integer type, Double price) {
        this.clinicId = clinicId;
        this.projectId = projectId;
        this.datetime = datetime;
        this.type = type;
        this.price = price;
    }

   
    // Property accessors
    @GenericGenerator(name="generator", strategy="increment")@Id @GeneratedValue(generator="generator")
    
    @Column(name="reportId", unique=true, nullable=false)

    public Integer getReportId() {
        return this.reportId;
    }
    
    public void setReportId(Integer reportId) {
        this.reportId = reportId;
    }
    
    @Column(name="clinicId", nullable=false)

    public Integer getClinicId() {
        return this.clinicId;
    }
    
    public void setClinicId(Integer clinicId) {
        this.clinicId = clinicId;
    }
    
    @Column(name="projectId", nullable=false)

    public Integer getProjectId() {
        return this.projectId;
    }
    
    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }
    
    @Column(name="datetime", nullable=false, length=19)

    public Timestamp getDatetime() {
        return this.datetime;
    }
    
    public void setDatetime(Timestamp datetime) {
        this.datetime = datetime;
    }
    
    @Column(name="type", nullable=false)

    public Integer getType() {
        return this.type;
    }
    
    public void setType(Integer type) {
        this.type = type;
    }
    
    @Column(name="price", nullable=false, precision=22, scale=0)

    public Double getPrice() {
        return this.price;
    }
    
    public void setPrice(Double price) {
        this.price = price;
    }
   








}